<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Admin
 *
 * @author lucas
 */
class Sites extends MY_Controller {

//put your code here

    public function __construct() {
        parent::__construct();

        if ($this->site_redirect[1] != 'site') {
            redirect(base_url($this->router->default_controller));
        }

        $this->parser->set_template('site/template');

        $this->parser->set_css('css/fluid_grid.css');
        $this->parser->set_css('bootstrap/css/bootstrap.min.css');
        $this->parser->set_css('css/site.css');
        $this->parser->set_css('jquery-ui-1.9.0.custom/css/custom-theme/jquery-ui-1.9.0.custom.min.css');

        $this->parser->set_js('bootstrap/js/bootstrap.min.js');
        $this->parser->set_js('js/jquery.maskedinput.js');
        $this->parser->set_js('jquery-ui-1.9.0.custom/js/jquery-ui-1.9.0.custom.min.js');
        $this->parser->set_js('js/scripts.js');
        $this->parser->set_js('js/site.js');
    }

}
